.container {
    /* limit the size to half of the viewport and keep the block on the left side */
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    margin-left: 0; /* remove previous offset so the element hugs the left edge */
    margin-top: 30px;
}

.robot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1a1c22;
    border-radius: 20px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.images_robot {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
}

.robot-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: white;
    margin: 0 0 15px 0;
    text-align: center;
}

.btn-select {
    padding: 10px 20px;
    background-color: #6a5cff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-select:hover {
    background-color: #4e4caf;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .robot-card {
        width: 80%;
    }
}

